void main() {
  int year = 2023;
  List<String> flybyObjects = ['Jupiter', 'Saturn', 'Uranus', 'Neptune'];

  print('Year: $year');

  if (year >= 2001) {
    print('21st century');
  } else if (year >= 1901) {
    print('20th century');
  }

  print('\nFlyby Objects:');
  for (final object in flybyObjects) {
    print(object);
  }

  print('\nMonths:');
  for (int month = 1; month <= 12; month++) {
    print(month);
  }

  print('\nYear increment:');
  while (year < 2016) {
    year += 1;
    print('Year is now $year');
  }
}
